package com.hkbigdata.sybx.mapper;

import com.hkbigdata.sybx.bean.UserRegedit;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface UserRegeditMapper {
    List<UserRegedit> getAllUsers();
    UserRegedit getUserById(@Param("user_id") String user_id);
    int addUser(UserRegedit userRegedit);
    int updateUser(UserRegedit userRegedit);
    int deleteUser(@Param("user_id") String user_id);
    List<UserRegedit> findAll();
    int updatePassword(@Param("user_id") String userId,
                       @Param("password_hash") String passwordHash);
}